package com.jiepos.mpos.common.constant;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

/**
 * 
 * <p>
 * 标题: —— 系统常量
 * </p>
 * <p>
 * 模块: 通用平台
 * </p>
 * <p>
 * 版权: Copyright (c) 2017 江苏杰博实信息技术有限公司
 * 
 * @author 娄伟峰
 * @version 1.0
 * @since 2017年4月10日 上午10:34:57 @history（历次修订内容、修订人、修订时间等）
 */
public final class SystemConstant {
	/**
	 * 临时文件保存路径
	 */
	public final static String TEMP_FILE_PATH = "upload" + File.separator + "temp";
	
	/** 上传文件保存路径*/
	public final static String FILE_UPLOAD_PATH = "upload";

	/** 上传文件保存路径*/
	public final static String ERROR_FILE_UPLOAD_PATH = "upload" + File.separator +"errorReport";

	/** 附加上传name*/
	public final static String IMG_UPLOAD = "imgUpload";
	
	/**
	 * 当前登录用户
	 */
	public final static String SESSION_LOGIN_USER = "loginName";

	/**
	 * 客户端session中的用户变量--LOGINNAME
	 */
	public final static String SESSION_LOGIN_USERID = "loginUser";
	/**
	 * session中的用户变量--真实姓名
	 */
	public final static String SESSION_USER_NAME = "sessionUserName";
	/**
	 * session中的用户变量--权限下的所有URL
	 */
	public final static String SESSION_AUTH_LIST = "session_auth_list";
	/**
	 * session中的用户变量--用户业务主键
	 */
	public final static String SESSION_USER_UUID = "session_user_uuid";
	/**
	 * session中的用户变量--角色编号
	 */
	public final static String SESSION_ROLE_UUID = "sessionRoleId";
	/**
	 * session中的用户变量--用户类别
	 */
	public final static String SESSION_USER_CATEGORY = "userCategory";
	/**
	 * session中的用户变量--登录用户的机构uuid
	 */
	public final static String SESSION_LOGIN_INS_UUID = "insUuid";

	/**
	 * session中的用户变量--登录用户的机构的联系电话
	 */
	public final static String SESSION_LOGIN_INS_PHONE = "insPhone";
	
	/**
	 * session中的用户变量--登录用户的机构的层级
	 */
	public final static String SESSION_LOGIN_INS_LEVEL = "insLevel";

	/**
	 * 实体前缀名
	 */
	public final static String TBL = "t_";
	/**
	 * 实体后缀名
	 */
	public final static String TBL_SUFFIX = "Entity";
	/**
	 * 删除状态
	 */
	public final static String DEL_STATUS = "0";
	/**
	 * 记录状态
	 */
	public final static String REC_ST = "rec_st";
	/**
	 * 记录id
	 */
	public final static String REC_ID = "rec_id";

	/**
	 * 记录状态-正常
	 */
	public final static String NORMAL_STATUS = "1";
	/**
	 * 成功标志
	 */
	public final static String SUCCESS = "success";
	/**
	 * 操作失败后返回
	 */
	public final static String ERROR = "error";

	/**
	 * 编码格式
	 */
	public final static String UTF_ENCODING = "utf-8";

	/**
	 * 编码格式
	 */
	public final static String GBK_ENCODING = "GBK";

	/**
	 * 服务器端响应码
	 */
	public final static String RSP_CODE = "rspCode";
	/**
	 * 服务器端响应消息
	 */
	public final static String RSP_MSG = "rspMsg";
	/**
	 * 服务器端响应数据
	 */
	public final static String RSP_DATAMAP = "dataMap";
	/**
	 * 正常返回码
	 */
	public final static String RSPCODE_SUCCESS = "00";

	/**
	 * 错误返回码
	 */
	public final static String RSPCODE_ERROR = "99";

	/**
	 * 返回码  交易未知
	 */
	public static final String RSPCODE_UNKNOW = "98";

	/**
	 * 订单关闭返回码
	 */
	public final static String RSPCODE_CLOSE = "97";
	/**
	 * 时间限制标志
	 */
	public final static String RSPCODE_INVALID = "96";

	/**
	 * App更新码
	 */
	public static final String RSPCODE_UPDATE = "96";

	/**
	 * 正常返回码消息
	 */
	public final static String RSPCODE_SUCCESS_MSG = "操作成功";


	/**
	 * 订单关闭返回码消息
	 */
	public final static String RSPCODE_CLOSE_MSG = "订单已关闭";

	/**
	 * 正常返回码消息
	 */
	public final static String RSPCODE_ERROR_MSG = "操作失败";
	
	/**
	 * 返回码  处理中
	 */
	public static final String RSPCODE_XX = "XX";
	
	public static final String RSPCODE_MSG_XX = "处理中";


	/**
	 * 初始密码
	 */
	public static final String INITIAL_PASSWORD = "111111";
	
	/** 登陆密码最少位数：6*/
	public static final int USER_LOGIN_PWD_LENGTH = 6;

	/** 用户未登陆标识 ：0*/
	public static final String USER_NOT_LOGIN = "0";

	/** 用户已登陆标识 ：1*/
	public static final String USER_LOGIN = "1";
	
	/** 用户停用标识：0 */
	public static final String USER_DISABLED = "0";
	
	/** 用户启用标识：1 */
	public static final String USER_ENABLED = "1";
	
	/** 用户冻结标识 ：2*/
	public static final String USER_LOCKED = "2";

	/** 用户登录错误次数上限 */
	public static final int LOGIN_ERROR_COUNT = 5;
	
	/**
	 * 数据表操作标识--增加
	 */
	public final static String OPER_ADD = "A";
	/**
	 * 数据表操作标识--修改
	 */
	public final static String OPER_UPDATE = "M";
	/**
	 * 数据表操作标识--删除
	 */
	public final static String OPER_DEL = "D";
	/**
	 * 所有操作的url
	 */
	public static List MENU_URL_LIST = new ArrayList();
	/**
	 * 缓存数据-代码表
	 */
	public final static String CACHE_CODELIST = "cache_codeList";
	
	/** 缓存用户hashkey*/
	public final static String REDIS_USER = "user";
	/**
	 * 本地加密秘钥
	 */
	public static final String LOC_KEY = "1E4A1B03D1B6CD8A174A826F76E009F4";

	/**
	 * 停用
	 */
	public static final String INS_ST_0 = "0";
	/**
	 * 启用
	 */
	public static final String INS_ST_1 = "1";
	/**
	 * 会员审核状态 0：待审核 1：审核通过 2：退回修改 8：资料未提交 9：未有审核信息
	 */
	public static final String REVIEW_ST_0 = "0";
	public static final String REVIEW_ST_1 = "1";
	public static final String REVIEW_ST_2 = "2";
	public static final String REVIEW_ST_8 = "8";
	public static final String REVIEW_ST_9 = "9";

	/**
	 * 会员级别  1:实名认证 2：VIP认证
	 */
	public static final String CUSTOM_LEVEL_1 = "1";
	public static final String CUSTOM_LEVEL_2 = "2";

	/**
	 * 卡性质
	 * A - 所有
	 * 1 - 借记卡
	 * 2 - 贷记卡
	 * 3 - 准贷记卡
	 * 4 - 预付卡
	 */
	public static final String CRD_NATURE_A = "A";
	public static final String CRD_NATURE_1 = "1";
	public static final String CRD_NATURE_2 = "2";
	public static final String CRD_NATURE_3 = "3";
	public static final String CRD_NATURE_4 = "4";

	/**
	 * 会员认证状态 0:未认证 1:已认证
	 */
	public static final String AUTH_ST_0 = "0";
	public static final String AUTH_ST_1 = "1";

	/**
	 * 工作流节点 M:未提交 0:用户提交 1:审核通过 2:退回修改 
	 */
	public static final String WORKFLOW_NODE_M = "-1";
	public static final String WORKFLOW_NODE_0 = "0";
	public static final String WORKFLOW_NODE_1 = "1";
	public static final String WORKFLOW_NODE_2 = "2";

	/**
	 * 工作流节点变化 0：启动流程 1：审核通过 2：退回修改
	 */
	public static final String STATE_CHANGE_0 = "0";
	public static final String STATE_CHANGE_1 = "1";
	public static final String STATE_CHANGE_2 = "2";

	/**
	 * 证件类型
	 * 	 01：身份证
		 02：护照
		 03：军官证
		 04：警官证
	 *
	 */
	public static final String CERTIFICATE_TYPE_01 = "01";

	/**
	 * 审核图片信息
	 */
	public static final String AFFIX_TP_01 = "1";

	/**
	 * 身份证正面照
	 */
	public static final String STORE_TP_01_04 = "4";

	/**
	 * 身份证反面
	 */
	public static final String STORE_TP_01_05 = "5";


	/**
	 * 信用卡正面
	 */
	public static final String STORE_TP_01_06 = "6";

	/**
	 * 记录状态 0:无效 1:有效
	 */

	public static final String REC_ST_0 = "0";
	public static final String REC_ST_1 = "1";

	/**
	 * 原始银行卡图片信息
	 */
	public static final String AFFIX_TP_02 = "2";

	/**
	 * 银行卡正面照
	 */
	public static final String STORE_TP_02_01 = "1";

	/**
	 * 银行卡反面
	 */
	public static final String STORE_TP_02_02 = "2";

	/**
	 * 手持身份证银行卡
	 */
	public static final String STORE_TP_02_03 = "3";

	/**
	 * 变更银行卡图片信息
	 */
	public static final String AFFIX_TP_03 = "3";

	/**
	 * 银行卡正面照
	 */
	public static final String STORE_TP_03_01 = "1";

	/**
	 * 银行卡反面
	 */
	public static final String STORE_TP_03_02 = "2";

	/**
	 * 手持身份证银行卡
	 */
	public static final String STORE_TP_03_03 = "3";

	/**
	 * 广告位图片信息
	 */
	public static final String AFFIX_TP_04 = "4";

	/**
	 *	 安卓广告图片信息
	 */
	public static final String STORE_TP_04_01 = "1";

	/**
	 *	IOS2倍广告图片信息
	 */
	public static final String STORE_TP_04_02 = "2";

	/**
	 *	IOS3倍广告图片信息
	 */
	public static final String STORE_TP_04_03 = "3";

	/**
	 * 安装包信息
	 */
	public static final String AFFIX_TP_05 = "5";

	/**
	 * 缩略图
	 */
	public static final String AFFIX_TP_06 = "6";
	/**
	 * 安卓缩略图
	 */
	public static final String AFFIX_TP_06_01 = "1";
	/**
	 * 安卓引导图
	 */
	public static final String AFFIX_TP_06_02 = "2";
	/**
	 * IOS缩略图
	 */
	public static final String AFFIX_TP_06_03 = "3";
	/**
	 * IOS引导图
	 */
	public static final String AFFIX_TP_06_04 = "4";

	/**
	 *	 安卓安装包信息（apk）
	 */
	public static final String STORE_TP_05_01 = "1";

	/**
	 * 失败状态1
	 */
	public final static String FAIL_1 = "f1";

	/**
	 * 失败状态2
	 */
	public final static String FAIL_2 = "f2";
	/**
	 * 失败状态3
	 */
	public final static String FAIL_3 = "f3";

	/**
	 * 大商户
	 */
	public final static String CHN_TP_0 = "0";

	/**
	 * 一机一码
	 */
	public final static String CHN_TP_1 = "1";

	/**
	 * 四要素认证接口url地址 key
	 */
	public static final String FOURELEMENTS_INTERFACE_URL = "fourelements_interface_url";

	/**
	 * 四要素认证接口token key值
	 */
	public static final String FOURELEMENTS_INTERFACE_TOKEN = "fourelements_interface_token";
	/**
	 * 四要素认证接口MD5加密秘钥 key值
	 */
	public static final String FOURELEMENTS_INTERFACE_SECRETKEY = "fourelements_interface_secretkey";

	/**
	 * 数据库用户名
	 */
	public static String DB_USER_NAME = "MPOS";
	/**
	 * 发布状态 默认为1
	 */
	
	public static final String PUBLISH_ST = "1";
	
	/**
	 * 渠道类型：0(API)
	 */
	public static final String CHANNEL_TYPE_API = "0";
	/**
	 * 渠道类型:1(H5)
	 */
	public static final String CHANNEL_TYPE_H5 = "1";
	/**
	 * 短信验证码类型：0(支付接口自动触发)
	 */
	public static final String VERIFY_CODE_TYPE_0  = "0";
	/**
	 * 短信验证码类型:1(客户端调用)
	 */
	public static final String VERIFY_CODE_TYPE_1 = "1";

	/**
	 * 来逗阵成功状态
	 */
	public static final String LAIDOUZHEN_SUCCESS = "Y";
	
	/**
	 * 融商科技成功状态
	 */
	public static final String EPAYPP_SUCCESS = "TRADE_FINISHED";
	
	/**
	 * 融商科技订单关闭状态
	 */
	public static final String EPAYPP_CLOSE = "TRADE_CLOSED_BY_SYS";
	
	/**
	 * 融商科技订单等待支付状态
	 */
	public static final String EPAYPP_WAIT_PAY = "TRADE_WAIT_PAY";
	
	/**
	 * 融商科技成功结果码
	 */
	public static final String EPAYPP_00 = "00";
	
	/**
	 * 融商科技系统错误，请稍后重试结果码
	 */
	public static final String EPAYPP_1101109999 = "1101109999";
	
	/**
	 * 融商科技请求参数错误结果码
	 */
	public static final String EPAYPP_1101100043 = "1101100043";
	
	/**
	 * 融商科技订单已存在，请不要重复创建结果码
	 */
	public static final String EPAYPP_1101110001 = "1101110001";
	
	/**
	 * 融商科技交易已创建，再次支付时订单创建必须与原金额一致结果码
	 */
	public static final String EPAYPP_1101110002 = "1101110002";
	
	/**
	 * 融商科技查询收银台支付订单失败结果码
	 */
	public static final String EPAYPP_1101110003 = "1101110003";
	
	/**
	 * 融商科技交易已创建，再次支付时渠道必须和原支付订单一致结果码
	 */
	public static final String EPAYPP_1101110004 = "1101110004";
	
	/**
	 * 融商科技收款人用户号错误结果码
	 */
	public static final String EPAYPP_1101110005 = "1101110005";
	
	/**
	 * 融商科技创建收银台支付订单失败结果码
	 */
	public static final String EPAYPP_1101110006 = "1101110006";
	
	/**
	 * 融商科技没有查询到符合条件的记录结果码
	 */
	public static final String EPAYPP_1101100100 = "1101100100";
	
	/**
	 * 融商科技没卡未开通快捷支付结果码
	 */
	public static final String EPAYPP_1101110008 = "1101110008";
	/**
	 * 来逗阵未知状态
	 */
	public static final String LAIDOUZHEN_UNKNOW = "N";
	
	/**
	 * 来逗阵未支付状态
	 */
	public static final String S0_000000 = "S0_000000";
	
	/**
	 * 融商支付无卡带积分产品
	 */
	public static final String EPAYPP_3001 = "3001";
	
	/**
	 * 融商支付无卡不带积分产品
	 */
	public static final String EPAYPP_3002 = "3002";
	
	/**
	 * 融商支付只支持62开头的银联标准卡
	 */
	public static final String EPAYPP_CARD_TYPE = "62";
	
	/**
	 * 融商支付支付请求超时时间
	 */
	public static final String EPAYPP_TIME_OUT = "3600";
	
	/**
	 * 易宝成功结果码
	 */
	public static final String YEEPAY__0000 = "0000";
	
	/**
	 * 易宝成功状态
	 */
	public static final String YEEPAY_SUCCESS = "SUCCESS";
	
	/**
	 * 易宝失败状态
	 */
	public static final String YEEPAY_FAIL = "FAIL";
	
	/**
	 * 易宝未支付状态
	 */
	public static final String YEEPAY_INIT = "INIT";
	
	/**
	 * 易宝冻结状态
	 */
	public static final String YEEPAY_FROZEN = "FROZEN";
	
	/**
	 * 易宝解冻状态
	 */
	public static final String YEEPAY_THAWED = "THAWED";
	
	/**
	 * 易宝冲正状态
	 */
	public static final String YEEPAY_REVERSE = "REVERSE";
	
	/**
	 * 易宝已接受状态
	 */
	public static final String YEEPAY_RECEIVED = "RECEIVED";
	
	/**
	 * 易宝处理中状态
	 */
	public static final String YEEPAY_PROCESSING = "PROCESSING";
	
	/**
	 * 易宝打款成功状态
	 */
	public static final String YEEPAY_SUCCESSED = "SUCCESSED";
	
	/**
	 * 易宝打款失败状态
	 */
	public static final String YEEPAY_FAILED = "FAILED";
	
	/**
	 * 易宝已退款状态
	 */
	public static final String YEEPAY_REFUNED = "REFUNED";
	
	/**
	 * 易宝已撤销状态
	 */
	public static final String YEEPAY_CANCELLED = "CANCELLED";
	
	/**
	 * 欣客成功状态
	 */
	public static final String XKPAY_SUCCESS = "S";
	
	/**
	 * 欣客失败状态
	 */
	public static final String XKPAY_FAILED = "F";
	
	/**
	 * 上海汇宜交易创建，等待买家付款状态
	 */
	public static final String HUIEPAY_WAIT_BUYER_PAY = "WAIT_BUYER_PAY";
	
	/**
	 * 上海汇宜交易成功状态
	 */
	public static final String HUIEPAY_TRADE_SUCCESS = "TRADE_SUCCESS";
	
	/**
	 * 上海汇宜交易关闭状态
	 */
	public static final String HUIEPAY_TRADE_CLOSED = "TRADE_CLOSED";
	
	/**
	 * 上海汇宜交易撤销状态
	 */
	public static final String HUIEPAY_TRADE_CANCEL = "TRADE_CANCEL";
	
	/**
	 * 上海汇宜交易失败状态
	 */
	public static final String HUIEPAY_TRADE_FAIL = "TRADE_FAIL";
	
	/**
	 * 预下单交易码
	 */
	public static final String PRE_ORDER_CODE = "P00001";
	
	/**
	 * 预下单交易名称
	 */
	public static final String PRE_ORDER_MSG = "预下单";
	
	/**
	 * 快捷支付交易码
	 */
	public static final String PAY_ORDER_CODE = "P00002";
	
	/**
	 * 快捷支付交易名称
	 */
	public static final String PAY_ORDER_MSG = "快捷支付";
	
	/**
	 * 快捷支付查询交易码
	 */
	public static final String PAY_ORDER_QUERY_CODE = "P00003";
	
	/**
	 * 快捷支付查询交易名称
	 */
	public static final String PAY_ORDER_QUERY_MSG = "快捷支付查询";
	
	/**
	 * 提现交易码
	 */
	public static final String PAY_WITHDRAL_CODE = "P00004";
	
	/**
	 * 提现交易名称
	 */
	public static final String PAY_WITHDRAL_MSG = "提现";
	
	/**
	 * 下发秘钥交易码
	 */
	public static final String PAY_PARAMKEY_CODE = "P00005";
	
	/**
	 * 下发秘钥交易名称
	 */
	public static final String PAY_PARAMKEY_MSG = "下发秘钥";
	
	/**
	 * 充值交易码
	 */
	public static final String PAY_RECHARGE_CODE = "P00006";
	
	/**
	 * 充值交易名称
	 */
	public static final String PAY_RECHARGE_MSG = "充值";
	
	/**
	 * app类型，ios类型
	 */
	public static final String APP_TYPE_IOS = "IOS";
	/**
	 * app类型，ios类型
	 */
	public static final String APP_TYPE_ANDROID = "ANDROID";
	/**
	 * 广告图片位置 ,1-app启动页图片
	 */
	public static final String ADV_PLACE_1 = "1";
	/**
	 * 广告图片位置 ,4-首页轮播广告
	 */
	public static final String ADV_PLACE_4 = "4";
	/**
	 * 缓存中响应码类型
	 */
	public static final String REDIS_RSP_CODE_MSG = "REDIS_RSP_CODE_MSG";
	
	/**
	 * 缓存中提现响应码类型
	 */
	public static final String REDIS_CASH_CODE_MSG = "REDIS_CASH_CODE_MSG";
	
 

	/**
	 * RSA 公钥
	 */
	public static final String PUB_KEY_STR = "MFwwDQYJKoZIhvcNAQEBBQADSw" +
			"AwSAJBAKDVzAEvRsckxJplfS2+NQKwjde3VOuBTEyfGa6mf6oOGzQp3SmaM2" +
			"tgEwZvYCD0BnZWa6s4HTPWwgm3i68Uu3sCAwEAAQ==";

	/**
	 * RSA 私钥
	 */
	public static final String PRI_KEY_STR = "MIIBUwIBADANBgkqhkiG9w0BAQEF" +
			"AASCAT0wggE5AgEAAkEAoNXMAS9GxyTEmmV9Lb41ArCN17dU64FMTJ8ZrqZ" +
			"/qg4bNCndKZoza2ATBm9gIPQGdlZrqzgdM9bCCbeLrxS7ewIDAQABAkAVedb" +
			"exaBO0SMLdsfLRt2vOUIHbuyA8eftR0VXo9XiL/8C/46xLZuVgUc/R+1+CP4iNR" +
			"/Qlx0ysoSWJupQFq0pAiEA8UHMzEcS2AmlYWQHa6Korq+GO6aYoyks2d/YpMCFfm8" +
			"CIQCqqeKeXS5ftUC99pBrcLxQ7OTmCyYM5rgWMH8kCv6ZtQIgAMMTcYW78oC9S" +
			"/xz5Ywi+kJFq0SQcNt9b8a8OXD+OvMCIGVMeUrunDwK5ebbl1VukRinxCYXr" +
			"/owaEwjdRP7wquRAiBguQOCdFY3YtGXcUprlSYIZLnQLlzXGZo2tIrDkuJ1Jg==";
	
	
	
	/**
	 * 清算标志 未清算
	 */
	public static final String AUDIT_STL_0 = "0";
	/**
	 * 清算标志 已清算
	 */
	public static final String AUDIT_STL_1 = "1";
	/**
	 * 清算标志 清算失败
	 */
	public static final String AUDIT_STL_2 = "2";
	/**
	 * 清算标志 处理中
	 */
	public static final String AUDIT_STL_XX = "XX";
	public static final String AUDIT_STL_3 = "3";

	/**
	 * 验证码业务类型1 1：会员注册
	 * 验证码业务类型2 2：忘记密码
	 * 验证码业务类型3 3：修改密码
	 * 验证码业务类型4 4-客户端申请提现
	 * 验证码业务类型5 5-账户变更
	 * 验证码业务类型6 6-修改支付密码
	 * 验证码业务类型7 7-重置支付密码
	 */
	public static final String RAND_SERVICE_TYPE_1 = "1";
	public static final String RAND_SERVICE_TYPE_2 = "2";
	public static final String RAND_SERVICE_TYPE_3 = "3";
	public static final String RAND_SERVICE_TYPE_4 = "4";
	public static final String RAND_SERVICE_TYPE_5 = "5";
	public static final String RAND_SERVICE_TYPE_6 = "6";
	public static final String RAND_SERVICE_TYPE_7 = "7";


	/**
	 * 用户状态 1
	 */
	public static final String USER_ST = "1";
	/**
	 * 校验登陆错误次数0
	 */
	public static final String CHECK_LOGIN_COUNT = "0";
	/**
	 * 实名制认证未认证0
	 *//*
	public static final String REALNAME_AUTH_ST = "0";*/
	/**
	 * VIP认证状态
	 *//*
	public static final String VIP_ST = "0";*/
	/**
	 * 客户类型1
	 */
	public static final String CSTOMER_TYPE = "1";

	/**
	 * 账户属性  0-借记卡账户
	 			1-信用卡账户
	 */
	public static final String ACCT_ATTR_0 = "0";
	public static final String ACCT_ATTR_1 = "1";

	/**
	 * 是否是认证信用卡
	 * 	0-否
	 	1-是
	 */
	public static final String AUTH_BANK_CARD_ST_0 = "0";
	public static final String AUTH_BANK_CARD_ST_1 = "1";

	/**
	 * 账户类型
		 0-余额
		 1-VIP认证费
		 2-推荐佣金
		 3-充值佣金
		 4-分润
	 */
	public static final String ACCOUNT_TYPE_0 = "0";
	public static final String ACCOUNT_TYPE_1 = "1";
	public static final String ACCOUNT_TYPE_2 = "2";
	public static final String ACCOUNT_TYPE_3 = "3";
	public static final String ACCOUNT_TYPE_4 = "4";

	/**
	 * 消息发送状态 0-未发送
				  1-发送成功
				  2-发送失败
	 */
	public static final String MESSAGE_ST_0 = "0";
	public static final String MESSAGE_ST_1 = "1";
	public static final String MESSAGE_ST_2 = "2";

	/**
	 * 消息发送类型
	 * 1-通知公告
	 	2-消息推送
	 */
	public static final String SEND_TYPE_1 = "1";
	public static final String SEND_TYPE_2 = "2";
	
	/** 推送消息类型-公有：1*/
	public static final String MESSAGE_TYPE_PUBLIC = "1";
	/** 推送消息类型-私有：2*/
	public static final String MESSAGE_TYPE_PRIVATE = "2";

	/**
	 * 客户端消息阅读状态
	 * 0-未读
	 * 1-已读
	 */
	public static final String READ_ST_0 = "0";
	public static final String READ_ST_1 = "1";


	/**
	 * 系统业务代码
	 * 		100001 快捷支付
	 * 		100002 vip会员充值
	 * 		100003 推荐佣金
	 * 		100004 充值佣金
	 * 		100005 分润
	 */
	public static final String SERVICE_NO_100001 = "100001";
	public static final String SERVICE_NO_100002 = "100002";
	public static final String SERVICE_NO_100003 = "100003";
	public static final String SERVICE_NO_100004 = "100004";
	public static final String SERVICE_NO_100005 = "100005";
	
	/**
	 * 系统业务参数代码
	 * 		201001 快捷支付（积分）
	 * 		201003 快捷支付（无积分）
	 */	
	public static final String PARAM_NO_201001 = "201001";
	public static final String PARAM_NO_201003 = "201003";

	/**
	 * 支付rsa公钥
	 */
	public static final String pay_pub_key="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCs/VunMK3htSuDVR07T9K77OvsjJrFOO6X0q"
			+ "QoTQNGIU7+MQ7OoBPJo3HCbYCV3RjwDw5/BKOhSoIJuEKzAfCG3ReS1NcMC8nNpcRQlzIgP5jJZuHoGh39Ntgv8WUdzBPPb1p/W6ThL"
			+ "h4omzr4WCKVffkUIOliOKkfQyjUSnhkmQIDAQAB";
	/**
	 * 支付rsa私钥
	 */
	public static final String pay_pri_key="MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAKz9W6cwreG1K4NVHTtP0rvs6+"
			+ "yMmsU47pfSpChNA0YhTv4xDs6gE8mjccJtgJXdGPAPDn8Eo6FKggm4QrMB8IbdF5LU1wwLyc2lxFCXMiA/mMlm4egaHf022C/xZR3ME"
			+ "89vWn9bpOEuHiibOvhYIpV9+RQg6WI4qR9DKNRKeGSZAgMBAAECgYB6TfqB30HgpVVpWkD7kTkd0qkOqm42aEUQJEYZlDFvYNdXklm0"
			+ "rqqu0hb47rCNxC8AcrS+CwqhW2tK8fJ+Wy2xEm10qnevb3/m2Ehcr1ZGvalgb1ztjkQkvLR1MSYUlxNibR0NhBaZepBab6hVOpEqfHh"
			+ "oUepOyBjME2OGT8VLnQJBANgL8OJd1Hyy8YDYqEgfiKf3Dzfco72a+tMO2jYGZnyK3UVp+rW4E52XXCMamVre1IKtV14KIJTbk062kI"
			+ "wIXQMCQQDM+wS6jaB4xw4iG3ALTELwW1U8+YQOzI1mLugeU5AEIrsksCpMHw+D7jceLlgnzJ+3vKnhbWNiWzehrzC0A58zAkEAiZNJC"
			+ "I0hk2rL2PWea5cRCYyM91CcQFAhaycpE4AN4T74Wox7Jx6Z9x98f6off7sn7jL90Jd4WfJdIqGk+FcXCwJBAMBR0Cj8UpCfKrqDhceD"
			+ "4NZEyx+vd+CuuQgjgHNbsaa/s1iD1Nug1NzSt3Igx2NoEH7Ci51PFc0linevuIFdWJMCQAKD9PiQ16Eb6MNbPdZEjqLe4gpM1w1dGRT"
			+ "PRDdsurKhQAXxJiuEn5Q1UHgvUSgv/UsVI65Bd5wUdouktxaEVyg=";
	
	
	

	
	/**
	 * 对公标志 0-对公1-对私
	 */
	public static final String IS_COMPANY_1 = "1";
	
	/**
	 * -限额状态 0-停用 1-启用
	 */
	public static final String LIMIT_ST_0 = "0";
	public static final String LIMIT_ST_1 = "1";
	
	/**
	 * -限额类型 01-渠道限额 02-商户限额
	 */
	public static final String LIMIT_TYPE_01 = "01";
	public static final String LIMIT_TYPE_02 = "02";
	/**
	 * 当日限额
	 */
	public static final Double LIMIT_AMOUNT = 5000000.00;

	/**
	 * 获取分享二维码地址
	 */
	public static final String REGURL_TP = "REGURL";
	public static final String REGURL_VAL = "REGURL";
	/**
	 * 信用卡 申请 url
	 */
	public static final String APPLY_CODE_TP = "CREDIT_CARD_APPLY_URL";
	public static final String APPLY_CODE_VAL = "PINGAN";

	/**
	 * 首页标记
	 */
	public static final String IS_INDEX = "1";
	
	/**
	 * 提现返回码 返回信息
	 */
	public static final String WITHDRAW_CODE_XX = "XX";
	public static final String WITHDRAW_MSG_XX = "处理中";
	public static final String WITHDRAW_CODE_00 = "00";
	public static final String WITHDRAW_MSG_00 = "申请成功";
	public static final String WITHDRAW_CODE_03 = "03";
	public static final String WITHDRAW_MSG_03 = "会员、机构状态不合法";
	public static final String WITHDRAW_CODE_04 = "04";
	public static final String WITHDRAW_MSG_04 = "会员账户状态不合法";
	public static final String WITHDRAW_CODE_05 = "05";
	public static final String WITHDRAW_MSG_05 = "提现操作相关校验不通过";
	public static final String WITHDRAW_CODE_06 = "06";
	public static final String WITHDRAW_MSG_06 = "会员账户余额或可用余额不足";
	public static final String WITHDRAW_CODE_99 = "99";
	public static final String WITHDRAW_MSG_99 = "申请失败";
	
	/**
	 * 正常返回码
	 */
	public final static String RSPCODE_SUCCESS_PAY = "承兑或交易成功";
	/**
	 * 定时关闭订单默认时间(分钟)
	 */
	public final static String CLOSE_ORDER_DEFAULT_TIME = "120";
	/**
	 * 验证码有效状态
	 * 	0-否
	 	1-是
	 */
	public static final String RAND_ST_0 = "0";
	public static final String RAND_ST_1 = "1";

	/**
	 * 总行号是否使用 0-失效 1-使用
	 */
	public final static String IS_MAKE_0 = "0";
	public final static String IS_MAKE_1 = "1";
	
	/**
	 * 融商渠道编号
	 */
	public final static String EPAYPP_CHN_NO = "EPAYPP_TERM";
	/**
	 * 校验状态
	 */
	public final static String FAIL_APPID_1 = "1";
	/**
	 * 校验状态
	 */
	public final static String SUCCESS_APPID_2 = "2";
	/**
	 * 校验状态
	 */
	public final static String FAIL_INSID_3 = "3";
	/**
	 * 状态报告0-未解决
	 */
	public final static String REPORT_ST = "0";
}